package com.justech.mes.v2.model.dto;

/**
 * 区间：更多的是为了存储一个数据的开始和结束
 *
 * @author feifei.li
 */
public class ShortInterval {

    private Long start;
    private Long end;

    public ShortInterval() {
    }

    public ShortInterval(Long start, Long end) {
        this.start = start;
        this.end = end;
    }

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }

    public Long getEnd() {
        return end;
    }

    public void setEnd(Long end) {
        this.end = end;
    }

    @Override
    public String toString() {
        return "ShortInterval{" +
                "start=" + start +
                ", end=" + end +
                '}';
    }
}
